package com.blackbrocast.mapper;

import com.blackbrocast.pojo.Rediotest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

@Mapper
@Repository
public interface RediotestMapper {
    /**
     * 查询收测记录
     * @param info 查询信息
     * @return 查询结果
     */
    List<Rediotest> getRediotest(@Param("info") HashMap<String, Object> info);

    /**
     * 添加收测记录
     * @param info 添加信息
     */
    void addRedioTest(@Param("info") HashMap<String, Object> info);
}
